/**
 * Project Name:cnsy-url-short-service
 * File Name:SysMenuInfoController.java
 * Package Name:cn.cnsy123.shorturls.business.controller.business 
 * Date: 2020年4月8日-下午9:59:10
 * Copyright (c) 2020, yangpengfei@360@126.com All Rights Reserved. 
 *
 */

package cn.cnsy123.shorturls.api.controller.business;

import javax.servlet.http.HttpServletRequest;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import cn.cnsy123.shorturls.api.controller.vo.SysMenuQueryResult;
import cn.cnsy123.shorturls.constants.SessionInfoConstants;

/**
 * ClassName: SysMenuInfoController
 * 
 * @author yangpengfei
 * @date 2020年4月8日-下午9:59:10
 * @version 1.0
 * @since JDK 1.7
 */
@Controller
@RequestMapping(value = "/user/sysmenu")
public class SysMenuInfoController {
    
    @RequestMapping(value = "/get",method = RequestMethod.GET)
    @ResponseBody
    public SysMenuQueryResult querySysMenuInfo(HttpServletRequest request) {
        request.getSession().setAttribute(SessionInfoConstants.SESSION_SKIP_VALUE, "loginPage");
        return new SysMenuQueryResult(200,"请求成功");
    }

}
